ns_ssl_files

Configuration for NetScaler SSL Files resource.

Read/write properties

id<String>

Id is system generated key for all the ns ssl files.

file_location_path<String>

File Location of ssl file on ADC.
Minimum length = 1

file_name<String>

File Name.
Minimum length = 1
Maximum length = 256

ns_ip_address<String>

device ip on on which ssl file is present.

display_name<String>

display name of device on which ssl file is present.

act_id<String>

Activity ID that is used by GUI to track the polling status..

Read only properties

file_last_modified<String>

Last Modified.

file_size<String>

file_size.

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

deletedo_polldownloadget (all)get

delete

URL:https://<MGMT-IP>/nitro/v2/config/ns_ssl_files/id_value<String>

HTTPS Method:DELETE

Request Headers:

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value> }

do_poll

URL:https://<MGMT-IP>/nitro/v2/config/ns_ssl_files?action=do_poll&onerror=<String_value>

HTTPS Method:POST

Request Headers:

Content-Type:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Request Payload:JSON

{"ns_ssl_files": {
      "display_name":<String_value>,
      "file_name":<String_value>,
      "ns_ip_address":<String_value>,
      "act_id":<String_value>,
      "id":<String_value>,
      "file_location_path":<String_value>}}

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_ssl_files":[{
      "file_last_modified":<String_value>,
      "id":<String_value>,
      "file_location_path":<String_value>,
      "file_name":<String_value>,
      "ns_ip_address":<String_value>,
      "display_name":<String_value>,
      "file_size":<String_value>,
      "act_id":<String_value>}]}

get (all)

URL:https://<MGMT-IP>/nitro/v2/config/ns_ssl_files

Query-parameters:

filter

https://<MGMT-IP>/nitro/v2/config/ns_ssl_files?filter=property-name1:property-value1,property-name2:property-value2

Use this query-parameter to get the filtered set of ns_ssl_files resources configured on the system. You can set a filter on any property of the resource.

pagesize=#no&pageno=#no

https://<MGMT-IP>/nitro/v2/config/ns_ssl_files?pagesize=#no&pageno=#no

Use this query-parameter to get the ns_ssl_files resources in chunks.

count

https://<MGMT-IP>/nitro/v2/config/ns_ssl_files?count=yes

Use this query-parameter to get the count of ns_ssl_files resources.

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_ssl_files":[{
      "file_last_modified":<String_value>,
      "id":<String_value>,
      "file_location_path":<String_value>,
      "file_name":<String_value>,
      "ns_ip_address":<String_value>,
      "display_name":<String_value>,
      "file_size":<String_value>,
      "act_id":<String_value>}]}

get

URL:https://<MGMT-IP>/nitro/v2/config/ns_ssl_files/id_value<String>

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_ssl_files":[{
      "file_last_modified":<String_value>,
      "id":<String_value>,
      "file_location_path":<String_value>,
      "file_name":<String_value>,
      "ns_ip_address":<String_value>,
      "display_name":<String_value>,
      "file_size":<String_value>,
      "act_id":<String_value>}]}

download

URL:https://<MGMT-IP>/nitro/v2/download/ns_ssl_files/id_value<String>

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Headers:

Content-Type:application/json

Response Payload:Binary Stream